package cn.kgc.service.impl;

import cn.kgc.entity.DevUser;
import cn.kgc.mapper.DevUserMapper;
import cn.kgc.service.DevUserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.RequestMapping;

@Service
public class DevUserServiceImpl implements DevUserService {

    @Autowired
    DevUserMapper devUserMapper;

    @Override
    public DevUser selectDevUser(String devCode, String devPassword) {
        DevUser devUser = new DevUser(devCode,devPassword);
        return devUserMapper.selectOne(devUser);
    }


}
